import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';

const feedback: AppRouteRecordRaw = {
    path: '/feedback',
    name: 'feedback',
    component: DEFAULT_LAYOUT,
    meta: {
        locale: '反馈管理',
        ignoreCache: true,
        requiresAuth: true,
        icon: 'icon-user-group',
        order: 1,
        roles: 'sys:feedback',
    },
    children: [
        {
            path: 'feedbacklist',
            name: 'feedbacklist',
            component: () =>
                import('@/views/feedback/list.vue'),
            meta: {
                locale: '反馈列表',
                ignoreCache: true,
                requiresAuth: true,
                roles: 'sys:feedback',
            },
        },
       
    ],
};

export default feedback;